// 顶部
.el-header {
  padding: 0 0px !important;
}

header {
  height: 120px !important;
}


// 侧栏
.el-aside {
  height: 100vh;
  background-color: rgb(36, 64, 108);
}

.el-menu-item {
  height: 40px;
  line-height: 40px;
  margin: 10px 0px;
  background-color: #224c7b !important;
}

.el-menu-item.is-active {
  background-color: #00b4ff !important;
}

.el-menu {
  border-right: none;
}

// 表格
.el-table--border::after,
.el-table--group::after,
.el-table::before {
  display: none;
}

.el-table__body-wrapper {
  background: #3b6591;
}

.el-table {
  border: 1px solid #5fc2b3;
  border-collapse: collapse;
}

.el-table--border,
.el-table--group {
  border-color: #5fc2b3;
}

.el-table th {
  background-color: #24406c;
  border-bottom: none;
  border: 1px solid #5fc2b3;
}

.model .el-table {
  border: 1px solid #5fc2b3;
  border-collapse: collapse;
}

.model .el-table th {
  background: none;
  border-color: #3e54cd;
  border: none;
  color: #5fc2b3;
  padding: 2px 0 !important;
  text-align: center;
}

.el-table tr {
  background: #24406c;
  border-radius: 6px;
  color: #5fc2b3;
}

.model .el-table tr {
  background: none;
  border: none;
  border-radius: 6px;
  text-align: center;
  color: #5fc2b3;
  padding: 2px 0 !important;
}

.model .el-table td,
.model .el-table th.is-leaf {
  border-bottom: none;
  border: 1px solid #5fc2b3;
  padding: 2px 0 !important;
}

.el-table td,
.el-table th.is-leaf {
  border-bottom-color: #5fc2b3;
  border: 1px solid #5fc2b3;
}

/* 表格鼠标悬浮时的样式（高亮） */
.el-table--enable-row-hover .el-table__body tr:hover {
  background: #24406c;
}
/*表格鼠标悬停的样式（背景颜色）*/
.el-table tbody tr:hover > td {
  background-color: #24406c !important;
}

.el-main {
  padding: 0px !important;
}

.el-table th {
  padding: 12px !important;
}

.el-table .cell {
  line-height: 20px !important;
  text-align: center;
}

.el-form-item__label {
  color: #fff !important;
}

.el-tabs__item {
  color: #fff; 
}

.el-collapse-item__header {
  padding: 0px 10px !important;
}

.el-collapse-item__header {
  background-color: #1e3657 !important;
  color: #fff !important;
}

.el-form-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px !important;
}

.el-form-item__label {
  width: 30% !important;
}

.el-form-item__content {
  width: 70% !important;
}

// 动画
@keyframes warn {
  0% {
    transform: scale(0.3);
    -webkit-transform: scale(0.3);
    opacity: 0;
  }

  25% {
    transform: scale(0.3);
    -webkit-transform: scale(0.3);
    opacity: 0.1;
  }

  50% {
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
    opacity: 0.3;
  }

  75% {
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    -webkit-transform: scale(1);
    opacity: 0;
  }
}

@keyframes warn1 {
  0% {
    transform: scale(0.3);
    -webkit-transform: scale(0.3);
    opacity: 0;
  }

  25% {
    transform: scale(0.3);
    -webkit-transform: scale(0.3);
    opacity: 0.1;
  }

  50% {
    transform: scale(0.3);
    -webkit-transform: scale(0.3);
    opacity: 0.3;
  }

  75% {
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
    opacity: 0;
  }
}

/* 产生动画（向外扩散变大）的圆圈 第一个圆 */
.animate .w1 {
  position: absolute;
  width: 35px;
  height: 35px;

  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  z-index: 1;
  opacity: 0;
  -webkit-animation: warn 2s ease-out;
  -moz-animation: warn 2s ease-out;
  animation: warn 2s ease-out;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
/* 产生动画（向外扩散变大）的圆圈 第二个圆 */
.animate .w2 {
  position: absolute;
  width: 35px;
  height: 35px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  z-index: 1;
  opacity: 0;
  -webkit-animation: warn1 2s ease-out;
  -moz-animation: warn1 2s ease-out;
  animation: warn1 2s ease-out;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  /* 阴影效果 */
}
.animate * {
  position: absolute;
  border-radius: 50%;
  animation: opac 4s infinite;
}
.alarmHalo {
  transform: rotate(30deg);
}

.alarmHalo-warning .animate * {
  background: #ff8c00;
  border: 1px solid #ff8c00;
  box-shadow: 1px 1px 30px #ff8c00; /* 阴影效果 */
}
.alarmHalo-danger .animate * {
  background: #ed4c38;
  border: 1px solid #ed4c38;
  box-shadow: 1px 1px 30px #ed4c38; /* 阴影效果 */
}


// 悬浮框
.el-popover {
  background: #1e3657;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  border: 1px solid #1e3657;
  color: #b5b9cf;
  padding: 0;
}

.el-popover p {
  line-height: 10px;
  border-bottom: 1px solid #1e3657;
  display: flex;
  justify-content: space-between;
  padding: 10px;
}

.el-popover p span {
  margin-left: 5px;
}

.el-popover p .bai {
  color: #fff;
}

.el-popper[x-placement^="right"] .popper__arrow::after {
  border-right-color: #1e3657;
}

.el-popper[x-placement^="right"] .popper__arrow {
  border-right-color: #1e3657;
}

.el-popover__title {
  font-family: PingFangSC-Semibold;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 0.59px;
  line-height: 16px;
  padding: 20px 20px 0px 10px;
  height: 10px;
  width: 100%;
}

.el-popper[x-placement^="top"] .popper__arrow::after {
  border-top-color: #1e3657;
}


.line_1 {
  border-top: 3px solid #267363
}

.line_2 {
  border: 3px solid #267363
}

.line_3 {
  border: 3px dotted #267363;
  border-radius: 50%;
}

/* 0-正常 */
.green_color {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: green;
  border-radius: 50%;
}

/* 1-预警 */
.orange_color {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: orange;
  border-radius: 50%;
}

/* 2-报警 */
.red_color {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: red;
  border-radius: 50%;
}

/* 4-暂停 */
.gray_color {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: gray;
  border-radius: 50%;
}


// 水泵开关
.on {
  width: 15px;
  height: 15px;
  background-color: green;
  border-radius: 50%;
}

.off {
  width: 15px;
  height: 15px;
  background-color: gray;
  border-radius: 50%;
}